Code cleanup in xdisp.c regarding string_char_and_length.
authorEli Zaretskii <eliz@gnu.org>
Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)
commit620ac78d4fec810fe03cb27a54610e57d5980cc6
tree35631998eb747f04daf73dfcb8fc1e55f66850ef
parent844cb3da937df66c8b395fdb0fc27faffcaf2d0e
Code cleanup in xdisp.c regarding string_char_and_length.

 xdisp.c (string_pos_nchars_ahead, c_string_pos)
 (face_before_or_after_it_pos, next_element_from_string)
 (next_element_from_c_string, produce_stretch_glyph): Remove unused
 calculations of maximum string length before calling
 string_char_and_length and STRING_CHAR_AND_LENGTH.
 (string_char_and_length): Update commentary: MAXLEN is no longer
 needed.
src/ChangeLog
src/xdisp.c